package com.cgy.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.cgy.entity.Teacher;

public interface TeacherService {
	//多条件查询教师
	Page<Teacher> findBytnamePage(Teacher t,Pageable pageable);
	//验证卡号是否存在
	List<Teacher> findLikecard(Integer tcardid);
	//添加
	Teacher addAndUpdateTeacher(Teacher t);
	//删除
	Integer deleteTeacher(Integer tid);
}
